package structural.decorator;

/**
 * 拿铁咖啡类
 *
 * @author binbin
 * @since 2022/10/6 19:26
 */
public class LatteCoffee extends Coffee {

    private String name = "拿铁咖啡";

    @Override
    double cost() {
        return 12;
    }

    @Override
    String desc() {
        return name;
    }
}
